# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class Bastion(object):

    def __init__(self, bid=None, instanceId=None, regionId=None, az=None, chargeMode=None, chargeUnit=None, chargeDuration=None, status=None, vpcId=None, subnetId=None, publicIp=None, logIp=None, logPip=None, relayIp0=None, relayIp1=None, relayIp2=None, relayPip0=None, relayPip1=None, relayPip2=None, domain=None, spec=None, startTime=None, endTime=None, desc=None, zeroStatus=None, publicAccess=None):
        """
        :param bid: (Optional) 堡垒机id
        :param instanceId: (Optional) 堡垒机实例
        :param regionId: (Optional) 地域
        :param az: (Optional) 可用区
        :param chargeMode: (Optional) 包年包月
        :param chargeUnit: (Optional) 收费单元
        :param chargeDuration: (Optional) 费用持续时间
        :param status: (Optional) 堡垒机状态
        :param vpcId: (Optional) vpc id
        :param subnetId: (Optional) 子网 id
        :param publicIp: (Optional) nlb公网ip
        :param logIp: (Optional) log内网ip
        :param logPip: (Optional) log公网ip
        :param relayIp0: (Optional) relay私网ip
        :param relayIp1: (Optional) relay私网ip
        :param relayIp2: (Optional) relay私网ip
        :param relayPip0: (Optional) relay公网ip
        :param relayPip1: (Optional) relay公网ip
        :param relayPip2: (Optional) relay公网ip
        :param domain: (Optional) 公网域名
        :param spec: (Optional) 规格
        :param startTime: (Optional) 创建时间
        :param endTime: (Optional) 到期时间
        :param desc: (Optional) 描述信息
        :param zeroStatus: (Optional) 零信任状态
        :param publicAccess: (Optional) 公网IP状态，true为打开，false为关闭
        """

        self.bid = bid
        self.instanceId = instanceId
        self.regionId = regionId
        self.az = az
        self.chargeMode = chargeMode
        self.chargeUnit = chargeUnit
        self.chargeDuration = chargeDuration
        self.status = status
        self.vpcId = vpcId
        self.subnetId = subnetId
        self.publicIp = publicIp
        self.logIp = logIp
        self.logPip = logPip
        self.relayIp0 = relayIp0
        self.relayIp1 = relayIp1
        self.relayIp2 = relayIp2
        self.relayPip0 = relayPip0
        self.relayPip1 = relayPip1
        self.relayPip2 = relayPip2
        self.domain = domain
        self.spec = spec
        self.startTime = startTime
        self.endTime = endTime
        self.desc = desc
        self.zeroStatus = zeroStatus
        self.publicAccess = publicAccess
